﻿using Neudesic.Pulse.Infrastructure;
using Neudesic.Pulse.ViewModels;
using System.ComponentModel.Composition;
using System.Windows.Controls;

namespace Neudesic.Pulse.Views
{

    /// <summary>
    /// Interaction logic for StatusInputView.xaml
    /// </summary>
    [ViewExport(RegionName = RegionNames.StatusInputRegion)]
    [PartCreationPolicy(CreationPolicy.Shared)]
    public partial class StatusInputView : UserControl
    {

        /// <summary>
        /// Initializes a new instance of the <see cref="StatusInputView" /> class.
        /// </summary>
        public StatusInputView()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Sets the view model.
        /// </summary>
        /// <value>The view model.</value>
        [Import]
        StatusViewModel ViewModel
        {
            set { this.DataContext = value;  }
        }

    }
}
